<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xcflow_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xcflow_id" data-source="csmitsm/xcflow/index" data-field="name" class="form-control selectpage" name="row[xcflow_id]" type="text" value="{$row.xcflow_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xcflow_fstatuscode')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xcflow_fstatuscode" class="form-control" name="row[xcflow_fstatuscode]" type="text" value="{$row.xcflow_fstatuscode|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xcflow_fstatusname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xcflow_fstatusname" class="form-control" name="row[xcflow_fstatusname]" type="text" value="{$row.xcflow_fstatusname|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xcflow_toaudit_user_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xcflow_toaudit_user_id" data-source="csmitsm/xcflow/toaudit/user/index" class="form-control selectpage" name="row[xcflow_toaudit_user_id]" type="text" value="{$row.xcflow_toaudit_user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xcflow_initiator_submittime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xcflow_initiator_submittime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[xcflow_initiator_submittime]" type="text" value="{:$row.xcflow_initiator_submittime?datetime($row.xcflow_initiator_submittime):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xcflow_initiator_depart_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xcflow_initiator_depart_id" data-source="csmitsm/xcflow/initiator/depart/index" class="form-control selectpage" name="row[xcflow_initiator_depart_id]" type="text" value="{$row.xcflow_initiator_depart_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xcflow_initiator_company_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xcflow_initiator_company_id" data-source="csmitsm/xcflow/initiator/company/index" class="form-control selectpage" name="row[xcflow_initiator_company_id]" type="text" value="{$row.xcflow_initiator_company_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xcflow_initiator_user_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xcflow_initiator_user_id" data-source="csmitsm/xcflow/initiator/user/index" class="form-control selectpage" name="row[xcflow_initiator_user_id]" type="text" value="{$row.xcflow_initiator_user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xcflow_initiator_user_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xcflow_initiator_user_name" class="form-control" name="row[xcflow_initiator_user_name]" type="text" value="{$row.xcflow_initiator_user_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xcflow_flowdata_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xcflow_flowdata_id" data-source="csmitsm/xcflow/flow/index" class="form-control selectpage" name="row[xcflow_flowdata_id]" type="text" value="{$row.xcflowdata_flow_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xcflow_mdmdata_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xcflow_mdmdata_id" data-source="csmitsm/xcflow/mdm/index" class="form-control selectpage" name="row[xcflow_mdmdata_id]" type="text" value="{$row.xcflow_mdmdata_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" class="form-control" name="row[weigh]" type="number" value="{$row.weigh|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key|htmlentities}"><input id="row[status]-{$key|htmlentities}" name="row[status]" type="radio" value="{$key|htmlentities}" {in name="key" value="$row.status"}checked{/in} /> {$vo|htmlentities}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>